package com.mby.entity;

import com.alibaba.fastjson.JSONObject;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

import java.util.Map;


/**
 * Created by Noah on 2018/01/31.
 */
@Document(collection = "dealers")
public class Dealer{
    @Id
    private String id;
    private String name;
    private Integer intId;
    private JSONObject cn;

    public JSONObject getCn() {
        return cn;
    }

    public void setCn(JSONObject cn) {
        this.cn = cn;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getIntId() {
        return intId;
    }

    public void setIntId(Integer intId) {
        this.intId = intId;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }
}
